
// Boost Includes ==============================================================
#include <boost/python.hpp>
#include <boost/cstdint.hpp>

// Includes ====================================================================
#include <OpenSG/OSGShaderParameterMatrix.h>
#include <OpenSG/OSGShaderParameterMatrixBase.h>
#include <OsgPtrHelpers.h>

// Using =======================================================================
using namespace boost::python;

// Declarations ================================================================
namespace  {

BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(osg_ShaderParameterMatrix_dump_overloads_0_2, dump, 0, 2)


}// namespace 


// Module ======================================================================
void Export_src_pyste_gen_ShaderParameterMatrix()
{
    scope* osg_ShaderParameterMatrixBase_scope = new scope(
    class_< osg::ShaderParameterMatrixBase, bases< osg::ShaderParameter > , boost::noncopyable >("ShaderParameterMatrixBase", no_init)
//        .def_readonly("ValueFieldMask", &osg::ShaderParameterMatrixBase::ValueFieldMask)
//        .def_readonly("MTInfluenceMask", &osg::ShaderParameterMatrixBase::MTInfluenceMask)
        .def("getClassType", &osg::ShaderParameterMatrixBase::getClassType, return_internal_reference< 1 >())
        .def("getClassTypeId", &osg::ShaderParameterMatrixBase::getClassTypeId)
        .def("getType", (osg::FieldContainerType& (osg::ShaderParameterMatrixBase::*)() )&osg::ShaderParameterMatrixBase::getType, return_internal_reference< 1 >())
        .def("getType", (const osg::FieldContainerType& (osg::ShaderParameterMatrixBase::*)() const)&osg::ShaderParameterMatrixBase::getType, return_internal_reference< 1 >())
        .def("getContainerSize", &osg::ShaderParameterMatrixBase::getContainerSize)
        //.def("getValue", (osg::Matrix& (osg::ShaderParameterMatrixBase::*)() )&osg::ShaderParameterMatrixBase::getValue, return_value_policy< copy_const_reference >())
        .def("getValue", (const osg::Matrix& (osg::ShaderParameterMatrixBase::*)() const)&osg::ShaderParameterMatrixBase::getValue, return_value_policy< copy_const_reference >())
        .def("setValue", &osg::ShaderParameterMatrixBase::setValue)
        .def("getBinSize", &osg::ShaderParameterMatrixBase::getBinSize)
        .def("copyToBin", &osg::ShaderParameterMatrixBase::copyToBin)
        .def("copyFromBin", &osg::ShaderParameterMatrixBase::copyFromBin)
        .def("create", &osg::ShaderParameterMatrixBase::create)
        .def("createEmpty", &osg::ShaderParameterMatrixBase::createEmpty)
        .def("shallowCopy", &osg::ShaderParameterMatrixBase::shallowCopy)
        .staticmethod("getClassType")
        .staticmethod("create")
        .staticmethod("createEmpty")
        .staticmethod("getClassTypeId")
    );

    scope().attr("NextFieldId") = (int)osg::ShaderParameterMatrixBase::NextFieldId;
    scope().attr("ValueFieldId") = (int)osg::ShaderParameterMatrixBase::ValueFieldId;

    delete osg_ShaderParameterMatrixBase_scope;

    class_< osg::ShaderParameterMatrix, bases< osg::ShaderParameterMatrixBase > , boost::noncopyable, osg::ShaderParameterMatrixRefPtr >("ShaderParameterMatrix", no_init)
        .def("changed", &osg::ShaderParameterMatrix::changed)
        .def("dump", &osg::ShaderParameterMatrix::dump, osg_ShaderParameterMatrix_dump_overloads_0_2())
    ;


    register_ptr_to_python<osg::ShaderParameterMatrixPtr>();
    implicitly_convertible<osg::ShaderParameterMatrixRefPtr, osg::ShaderParameterMatrixPtr>();
    implicitly_convertible<osg::ShaderParameterMatrixPtr, osg::ShaderParameterPtr>();
    
    def("RefPtr", &pyopensg::ToRefPtr<osg::ShaderParameterMatrixPtr>);
    def("FCPtr", &pyopensg::ToFcPtr<osg::ShaderParameterMatrixPtr>);
}

